import { Text, View, } from "@tarojs/components";

import "./index.scss";

const CustomCell = (props) => {
  const {label,value,style,valueStyle,onClick} =  props

  return (
    <View className="CellWrap" style={style} onClick={onClick}>
        <Text className="label">{label}</Text>
        <Text style={valueStyle} className="value">{value}</Text>
      </View>
  );
}

export default CustomCell;
